<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../css/style.css" media="all">
    <link rel="stylesheet" type="text/css" href="../css/common.css" media="all">

    <style type="text/css">


        .wrap {
            width: 400px;
            margin: 30px auto;
            border: 1px solid #ccc;
        }

        .demo {
            display: table-cell;
            width: 200px;
            height: 200px;
            /*height: 200px;*/
            border: 1px solid #000;
            *font-size: 176px;
            text-align: center;
            vertical-align: middle;
        }

        .demo img {
            vertical-align: middle;
        }


    </style>
</head>
<body>
<div class="m0a wrap2">
    <h1 class="title">图片垂直居中，淘宝方法：font-size:1.14倍</h1>
    <span class="description">

    </span>

    <div class="wrap">
        <div class="demo">
            <img src="../images/mm1.jpg" alt=""/>
        </div>
    </div>


</div>
</body>
</html>